package com.cj.ctyl.service.impl;

import com.cj.ctyl.entity.SysMenus;
import com.cj.ctyl.mapper.SysMenusMapper;
import com.cj.ctyl.service.SysMenusService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Author: Alex
 * @Description: 菜单
 * @Date: 2021/8/23
 */
public class SysMenusServiceImpl implements SysMenusService {

    @Autowired
    private SysMenusMapper sysMenusMapper;

    @Override
    public List<SysMenus> selectSysMenusBySysUsersId(Long userId) {
        return sysMenusMapper.selectSysMenusBySysUsersId(userId);
    }
}
